package info.wangyuan.agent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import info.wangyuan.agent.entity.po.KnowledgeSource;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface KnowledgeSourceMapper extends BaseMapper<KnowledgeSource> {

    @Delete("TRUNCATE TABLE tb_knowledge_source RESTART IDENTITY")
    void truncateKnowledgeSource();

}
